package org.akomantoso.core.io.util.group;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

import org.akomantoso.core.data.Party;
import org.akomantoso.core.data.group.ANheaderInline;
import org.akomantoso.core.io.util.Instantiator;

/**
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 */
public final class ANheaderInlineGroup {

	private ANheaderInlineGroup() {
	}

	public static final Map<String, Instantiator<ANheaderInline>> MAP;

	static {

		Map<String, Instantiator<ANheaderInline>> temp = new HashMap<String, Instantiator<ANheaderInline>>();
		
		// b
		temp.put(Party.ELEMENT, new Instantiator<ANheaderInline>() {
			public ANheaderInline instantiate() {
				return new Party();
			}
		});

		
		MAP = Collections.unmodifiableMap(temp);
	}
	
}